package com.udaos.models.train;

import java.io.Serializable;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.EL;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Prev;
import org.nutz.dao.entity.annotation.Table;

import com.udaos.common.base.Model;
/**
* @author mutaotao
* @time   2017-03-10 12:58:20
*/
@Table("ud_trainlump_order")
public class Ud_trainlump_order extends Model implements Serializable {
	private static final long serialVersionUID = 1L;
	@Column
	@Name
	@Prev(els = {@EL("uuid()")})
	private String id;
	@Column
	private Integer state;
	@Column
	private String bill_no;
	@Column
	private String company_id;
	@Column
	private String region_id;
	@Column
	private String user_type;
	@Column
	private String user_id;
	@Column
	private String customer_id;
	@Column
	private String project_id;
	@Column
	private String location_lng;
	@Column
	private String location_lat;
	@Column
	private String location;
	@Column
	private String school_id;
	@Column
	private String trainer_id;
	@Column
	private String product_type;
	@Column
	private String product_id;
	@Column
	private String account_id;
	@Column
	private double amount;
	@Column
	private String card_id;
	@Column
	private String card_code;
	@Column
	private double discount;
	@Column
	private double money;
	@Column
	private boolean pay_flag;
	@Column
	private Integer pay_time;
	@Column
	private String pay_way;
	@Column
	private String pay_trans_id;
	@Column
	private boolean back_flag;
	@Column
	private String back_money;
	@Column
	private Integer back_time;
	@Column
	private String back_way;
	@Column
	private String back_trans_id;
	@Column
	private boolean allot_flag;
	@Column
	private double allot_company;
	@Column
	private double allot_school;
	@Column
	private double allot_trainer;
	@Column
	private String createBy;
	@Column
	private Integer createAt;
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id=id;
	}
	public Integer getState()
	{
		return state;
	}
	public void setState(Integer state)
	{
		this.state=state;
	}
	public String getBill_no()
	{
		return bill_no;
	}
	public void setBill_no(String bill_no)
	{
		this.bill_no=bill_no;
	}
	public String getCompany_id()
	{
		return company_id;
	}
	public void setCompany_id(String company_id)
	{
		this.company_id=company_id;
	}
	public String getRegion_id()
	{
		return region_id;
	}
	public void setRegion_id(String region_id)
	{
		this.region_id=region_id;
	}
	public String getUser_type()
	{
		return user_type;
	}
	public void setUser_type(String user_type)
	{
		this.user_type=user_type;
	}
	public String getUser_id()
	{
		return user_id;
	}
	public void setUser_id(String user_id)
	{
		this.user_id=user_id;
	}
	public String getCustomer_id()
	{
		return customer_id;
	}
	public void setCustomer_id(String customer_id)
	{
		this.customer_id=customer_id;
	}
	public String getProject_id()
	{
		return project_id;
	}
	public void setProject_id(String project_id)
	{
		this.project_id=project_id;
	}
	public String getLocation_lng()
	{
		return location_lng;
	}
	public void setLocation_lng(String location_lng)
	{
		this.location_lng=location_lng;
	}
	public String getLocation_lat()
	{
		return location_lat;
	}
	public void setLocation_lat(String location_lat)
	{
		this.location_lat=location_lat;
	}
	public String getLocation()
	{
		return location;
	}
	public void setLocation(String location)
	{
		this.location=location;
	}
	public String getSchool_id()
	{
		return school_id;
	}
	public void setSchool_id(String school_id)
	{
		this.school_id=school_id;
	}
	public String getTrainer_id()
	{
		return trainer_id;
	}
	public void setTrainer_id(String trainer_id)
	{
		this.trainer_id=trainer_id;
	}
	public String getProduct_type()
	{
		return product_type;
	}
	public void setProduct_type(String product_type)
	{
		this.product_type=product_type;
	}
	public String getProduct_id()
	{
		return product_id;
	}
	public void setProduct_id(String product_id)
	{
		this.product_id=product_id;
	}
	public String getAccount_id()
	{
		return account_id;
	}
	public void setAccount_id(String account_id)
	{
		this.account_id=account_id;
	}
	public double getAmount()
	{
		return amount;
	}
	public void setAmount(double amount)
	{
		this.amount=amount;
	}
	public String getCard_id()
	{
		return card_id;
	}
	public void setCard_id(String card_id)
	{
		this.card_id=card_id;
	}
	public String getCard_code()
	{
		return card_code;
	}
	public void setCard_code(String card_code)
	{
		this.card_code=card_code;
	}
	public double getDiscount()
	{
		return discount;
	}
	public void setDiscount(double discount)
	{
		this.discount=discount;
	}
	public double getMoney()
	{
		return money;
	}
	public void setMoney(double money)
	{
		this.money=money;
	}
	public boolean getPay_flag()
	{
		return pay_flag;
	}
	public void setPay_flag(boolean pay_flag)
	{
		this.pay_flag=pay_flag;
	}
	public Integer getPay_time()
	{
		return pay_time;
	}
	public void setPay_time(Integer pay_time)
	{
		this.pay_time=pay_time;
	}
	public String getPay_way()
	{
		return pay_way;
	}
	public void setPay_way(String pay_way)
	{
		this.pay_way=pay_way;
	}
	public String getPay_trans_id()
	{
		return pay_trans_id;
	}
	public void setPay_trans_id(String pay_trans_id)
	{
		this.pay_trans_id=pay_trans_id;
	}
	public boolean getBack_flag()
	{
		return back_flag;
	}
	public void setBack_flag(boolean back_flag)
	{
		this.back_flag=back_flag;
	}
	public String getBack_money()
	{
		return back_money;
	}
	public void setBack_money(String back_money)
	{
		this.back_money=back_money;
	}
	public Integer getBack_time()
	{
		return back_time;
	}
	public void setBack_time(Integer back_time)
	{
		this.back_time=back_time;
	}
	public String getBack_way()
	{
		return back_way;
	}
	public void setBack_way(String back_way)
	{
		this.back_way=back_way;
	}
	public String getBack_trans_id()
	{
		return back_trans_id;
	}
	public void setBack_trans_id(String back_trans_id)
	{
		this.back_trans_id=back_trans_id;
	}
	public boolean getAllot_flag()
	{
		return allot_flag;
	}
	public void setAllot_flag(boolean allot_flag)
	{
		this.allot_flag=allot_flag;
	}
	public double getAllot_company()
	{
		return allot_company;
	}
	public void setAllot_company(double allot_company)
	{
		this.allot_company=allot_company;
	}
	public double getAllot_school()
	{
		return allot_school;
	}
	public void setAllot_school(double allot_school)
	{
		this.allot_school=allot_school;
	}
	public double getAllot_trainer()
	{
		return allot_trainer;
	}
	public void setAllot_trainer(double allot_trainer)
	{
		this.allot_trainer=allot_trainer;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Integer getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Integer createAt) {
		this.createAt = createAt;
	}
}